import hyRequest from "@/service"
//获取角色列表
export function getEntireRoles() {
  return hyRequest.post({
    url: "/role/list",
    data: {
      size:100,
      offset:0

    }
  })
}

export function getEntireDepartments() {
  return hyRequest.post({
    url: "/department/list",
    data: {
      size:100,
      offset:0

    }
  })
}
// 菜单
export function getEntireMenus() {
  return hyRequest.post({
    url: "/menu/list",
    data: {
      size:100,
      offset:0

    }
  })
}
